#pragma once

#include <QWidget>
#include "ui_CardWidget_CVR100UD.h"
#include "DLLWrapper.h"
#include "Card_CVR100UDDLL.h"

class CardWidget_CVR100UD: public QWidget
{
	Q_OBJECT

public:
    CardWidget_CVR100UD();	
	~CardWidget_CVR100UD();	

	void init();
	Card_CVR100UDDLL *lock;	

protected slots:	
	void on_btnReadCard1_clicked();
	void on_btnReadCard2_clicked();
	void on_btnReadCard3_clicked();

private:		
	bool DealCommand(int type,CardResult &ret);	

	Ui::CardWidget_CVR100UD ui;
};